using UnityEngine;

public class Camera : MonoBehaviour
{
	public Shader shader;

    public void Start()
    {
        DDDirector.Instance.OnStart(new DDRenderer(shader), () => new DemoScene());
    }

    // Update is called once per frame
    public void Update()
    {
        DDDirector.Instance.OnUpdate();
    }

    public void OnPostRender()
    {
        DDDirector.Instance.OnPostRender();
    }

}
